package com.tansun.easycare.rule.policytree.model;

import java.io.Serializable;

public class PolicyTreeItem implements Serializable {

    private static final long serialVersionUID = -7332814119155565658L;
    /**
     * id
     */
    private String id;
    /**
     * 父节点Id
     */
    private String pid;
    /**
     * 名称
     */
    private String name;
    /**
     * 节点在第几层
     */
    private int floor;
    /**
     * 树共多少层
     */
    private String floorNum;
    /**
     * 是否叶子
     */
    private String isLeaf;

    /**
     * 动作场景Id
     */
    private String actionSceneId;

    /**
     * 决策键Id
     */
    private String keyId;
    /**
     * 符号
     */
    private String symbol;

    private String leftOpt;        // 左关系符
    private String controlValue;        // 前对比值

    private String rightOpt;        // 右关系符

    private String pattern;


    /**
     * 集合类型下标
     */
    private String position;

    public PolicyTreeItem() {
        super();
    }

    public PolicyTreeItem(String id, String name, int floor) {
        super();
        this.id = id;
        this.name = name;
        this.floor = floor;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getFloor() {
        return floor;
    }

    public void setFloor(int floor) {
        this.floor = floor;
    }

    public String getFloorNum() {
        return floorNum;
    }

    public void setFloorNum(String floorNum) {
        this.floorNum = floorNum;
    }

    public String getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(String isLeaf) {
        this.isLeaf = isLeaf;
    }

    public String getActionSceneId() {
        return actionSceneId;
    }

    public void setActionSceneId(String actionSceneId) {
        this.actionSceneId = actionSceneId;
    }

    public String getKeyId() {
        return keyId;
    }

    public void setKeyId(String keyId) {
        this.keyId = keyId;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getLeftOpt() {
        return leftOpt;
    }

    public void setLeftOpt(String leftOpt) {
        this.leftOpt = leftOpt;
    }

    public String getControlValue() {
        return controlValue;
    }

    public void setControlValue(String controlValue) {
        this.controlValue = controlValue;
    }

    public String getRightOpt() {
        return rightOpt;
    }

    public void setRightOpt(String rightOpt) {
        this.rightOpt = rightOpt;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getPattern() {
        return pattern;
    }

    public void setPattern(String pattern) {
        this.pattern = pattern;
    }


}
